<!--
 * @Descripttion: 
 * @version: 
 * @Author: Mr. Xu
 * @Date: 2020-09-24 16:49:55
 * @LastEditors: Mr. Xu
 * @LastEditTime: 2020-12-14 17:51:13
-->
<div class="menu">
	<!-- 侧边搜索 -->
	<div class="menu_search">
		<i class="layui-icon  layui-icon-search" id='seach'></i>
		<input type="text" placeholder="概览名称" id='seach_name'>
	</div>

	<div class="menu_show">
		{foreach $menus as $k0=>$b}
			{if $type_key==0}
				{if $k0==0}
					<ul class="menu_item on">
						{notempty name="$b.list"}
						{volist name="$b.list" id='c' key='ke'}
						{notempty name="$c.list"}
						<li>
							<div href="javascript:;" class="menu_one">{$c.name}<i class="iconfont iconyoubian"></i><span
									class="menu_count"><?php  echo $count = count($c['list']); ?></span></div>
							<div class="menu_sec">
								{volist name='$c.list' id='co' key='k'}
								<a href="javascript:;" data-type_key="{$k0}" data-is_screen="{$co.is_screen}" {if
									$load==$co.url}class="on" {/if} data-url="{$co.url}" data-id="{$co.id}"
									data-name="{$co.name}">{$co.name}</a>
								{/volist}
							</div>
						</li>
						{else/}
						<div class="menu_sec">
							<a href="javascript:;" data-type_key="{$k0}" data-is_screen="{$c.is_screen}" {if
								$load==$c.url}class="on" {/if} data-url="{$c.url}" data-id="{$c.id}"
								data-name="{$c.name}">{$c.name}</a>
						</div>
						{/notempty}
						{/volist}
						{/notempty}
					</ul>
				{else}
					{notempty name="$b['list']"}
					<ul class="menu_item">
						<div class="menu_fir">
							{volist name="$b['list']" id='bo' key='ke'}
							{notempty name="$bo.list"}
							<li>
								<div href="javascript:;" class="menu_one">{$bo.name}<i class="icon icon-icon-test3"></i><span
										class="menu_count"><?php  echo $count = count($bo['list']); ?></span></div>
								<div class="menu_sec">
									{volist name='$bo.list' id='co' key='k'}
									<a href="javascript:;" data-type_key="{$k0}" data-is_screen="{$co.is_screen}" {if
										$load==$co.url}class="on" {/if} data-url="{$co.url}" data-id="{$co.id}"
										data-name="{$co.name}">{$co.name}</a>
									{/volist}
								</div>
							</li>
							{else/}
							<div class="menu_sec">
								<a href="javascript:;" data-type_key="{$k0}" data-is_screen="{$bo.is_screen}" {if
									$load==$bo.url}class="on" {/if} data-url="{$bo.url}" data-id="{$bo.id}">{$bo.name}</a>
							</div>
							{/notempty}
							{/volist}
						</div>
					</ul>
					{/notempty}
				{/if}
			{else}
				<ul class="menu_item {if $type_key==$k0}on{/if}">
					{notempty name="$b.list"}
						{volist name="$b.list" id='c' key='ke'}
							{notempty name="$c.list"}
							<li>
								<div href="javascript:;" class="menu_one">{$c.name}<i class="iconfont iconyoubian"></i><span
										class="menu_count"><?php  echo $count = count($c['list']); ?></span></div>
								<div class="menu_sec">
									{volist name='$c.list' id='co' key='k'}
									<a href="javascript:;" data-type_key="{$k0}" {if $load==$co.url}class="on" {/if}
										data-url="{$co.url}" data-is_screen="{$co.is_screen}" data-id="{$co.id}"
										data-name="{$co.name}">{$co.name}</a>
									{/volist}
								</div>
							</li>
							{else/}
							<div class="menu_sec">
								<a href="javascript:;" data-type_key="{$k0}" {if $load==$c.url}class="on" {/if}data-url="{$c.url}"
									data-is_screen="{$c.is_screen}" data-id="{$c.id}" data-name="{$c.name}">{$c.name}</a>
							</div>
							{/notempty}
						{/volist}
					{/notempty}
				</ul>
			{/if}
		{/foreach}
	</div>

	<div class="search">

	</div>
</div>